'use strict'
const { prefixRequest } = require('./request-config')
module.exports = {
    '/productList': {
        target: `${prefixRequest}/productList`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/productList': '' }
    },
    '/changeStatus': {
        target: `${prefixRequest}/changeStatus`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/changeStatus': '' }
    },
    '/packageList': {
        target: `${prefixRequest}/packageList`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/packageList': '' }
    },
    '/packageSaveData': {
        target: `${prefixRequest}/packageSaveData`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/packageSaveData': '' }
    },
    '/packageDetail': {
        target: `${prefixRequest}/packageDetail`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/packageDetail': '' }
    },
    '/packageDelData': {
        target: `${prefixRequest}/packageDelData`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/packageDelData': '' }
    },





    '/praiseSave': {
        target: `${prefixRequest}/praiseSave`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseSave': '' }
    },
    '/praiseDetail': {
        target: `${prefixRequest}/praiseDetail`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseDetail': '' }
    },
    '/praiseLists': {
        target: `${prefixRequest}/praiseLists`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseLists': '' }
    },
    '/praiseDel': {
        target: `${prefixRequest}/praiseDel`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseDel': '' }
    },
    '/praiseSpread': {
        target: `${prefixRequest}/praiseSpread`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseSpread': '' }
    },
    '/praiseUserLists': {
        target: `${prefixRequest}/praiseUserLists`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseUserLists': '' }
    },
    '/praiseAddPraiseNum': {
        target: `${prefixRequest}/praiseAddPraiseNum`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseAddPraiseNum': '' }
    },
    '/praisePrizeLists': {
        target: `${prefixRequest}/praisePrizeLists`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praisePrizeLists': '' }
    },
    '/praiseAddUser': {
        target: `${prefixRequest}/praiseAddUser`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/praiseAddUser': '' }
    },
    '/saveDomainSetting': {
        target: `${prefixRequest}/saveDomainSetting`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/saveDomainSetting': '' }
      },
      '/getDomainSetting': {
        target: `${prefixRequest}/getDomainSetting`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/getDomainSetting': '' }
      },
      '/getDomainRecord': {
        target: `${prefixRequest}/getDomainRecord`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/getDomainRecord': '' }
      },
      '/deleteDomainRecord': {
        target: `${prefixRequest}/deleteDomainRecord`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/deleteDomainRecord': '' }
      },
}
